function mm(id){
       if( confirm("确定删除")){
        $.ajaxSetup({
                headers: {
                    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                }
            });
        $.post("/admin/sys/typeads/"+id,{"_method":"DELETE"},function(msg)
            {
                if(msg==1){
                    alert("删除成功");
                }
                location.reload(false);
            });
}

}
